(global.webpackJsonp = global.webpackJsonp || []).push([ [ "components/zx-button-follow/zx-button-follow" ], {
    "4ee9": function(t, e, o) {},
    "64d7": function(t, e, o) {
        var l = o("4ee9");
        o.n(l).a;
    },
    "88c3": function(t, e, o) {
        o.r(e);
        var l = o("c766"), n = o("d76c");
        for (var s in n) "default" !== s && function(t) {
            o.d(e, t, function() {
                return n[t];
            });
        }(s);
        o("64d7");
        var i = o("f0c5"), r = Object(i.a)(n.default, l.b, l.c, !1, null, "d990cd84", null, !1, l.a, void 0);
        e.default = r.exports;
    },
    c766: function(t, e, o) {
        o.d(e, "b", function() {
            return l;
        }), o.d(e, "c", function() {
            return n;
        }), o.d(e, "a", function() {});
        var l = function() {
            this.$createElement;
            this._self._c;
        }, n = [];
    },
    ceab: function(t, e, o) {
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var l = {
                mixins: [ function(t) {
                    return t && t.__esModule ? t : {
                        default: t
                    };
                }(o("17d5")).default ],
                data: function() {
                    return {
                        isFollow: 0
                    };
                },
                props: {
                    type: {
                        type: [ String ]
                    },
                    followId: {
                        type: [ Number, String ],
                        default: 0
                    },
                    title: {
                        type: String,
                        default: ""
                    },
                    activeTitle: {
                        type: String,
                        default: ""
                    },
                    btnHeight: {
                        type: [ Number, String ],
                        default: "50rpx"
                    },
                    color: {
                        type: String,
                        default: ""
                    },
                    activeColor: {
                        type: String,
                        default: ""
                    },
                    defultClass: {
                        type: String,
                        default: ""
                    },
                    activeClass: {
                        type: String,
                        default: ""
                    },
                    icon: {
                        type: String,
                        default: ""
                    },
                    activeIcon: {
                        type: String,
                        default: ""
                    },
                    iconSize: {
                        type: [ Number, String ],
                        default: "36rpx"
                    },
                    fontSize: {
                        type: [ Number, String ],
                        default: "28rpx"
                    },
                    paddingLR: {
                        type: [ Number, String ],
                        default: "15rpx"
                    },
                    noRadius: {
                        type: [ Boolean, String ],
                        default: !1
                    }
                },
                methods: {
                    onTap: function() {
                        switch (this.type) {
                          case "user":
                            this._user_follow_users({
                                id: this.followId
                            });
                            break;

                          case "seller":
                            this._user_follow_sellers({
                                id: this.followId
                            });
                        }
                    }
                },
                computed: {
                    followVuex: function() {
                        return "user" == this.type ? this.$store.getters.userFollowUser : this.$store.getters.userFollowSeller;
                    }
                },
                watch: {
                    followVuex: function(t) {
                        console.log("监听followVuex-类型:" + this.type, t), -1 !== t.indexOf(this.followId) ? this.isFollow = 1 : this.isFollow = 0;
                    },
                    user_follow_users_res: function(e) {
                        e.code < 1 ? t.showToast({
                            title: e.message,
                            icon: "none",
                            duration: 2e3
                        }) : e.data.state ? (this.$store.commit("setUserFollowUserNum", {
                            isChange: !0,
                            num: 1
                        }), this.$store.commit("setUserFollowUser", {
                            isFollow: !0,
                            userId: this.followId
                        })) : (this.$store.commit("setUserFollowUserNum", {
                            isChange: !0,
                            num: -1
                        }), this.$store.commit("setUserFollowUser", {
                            isFollow: !1,
                            userId: this.followId
                        }));
                    },
                    user_follow_sellers_res: function(e) {
                        e.code < 1 ? t.showToast({
                            title: e.message,
                            icon: "none",
                            duration: 2e3
                        }) : e.data.state ? this.$store.commit("setUserFollowSeller", {
                            isFollow: !0,
                            sellerId: this.followId
                        }) : this.$store.commit("setUserFollowSeller", {
                            isFollow: !1,
                            sellerId: this.followId
                        });
                    }
                }
            };
            e.default = l;
        }).call(this, o("543d").default);
    },
    d76c: function(t, e, o) {
        o.r(e);
        var l = o("ceab"), n = o.n(l);
        for (var s in l) "default" !== s && function(t) {
            o.d(e, t, function() {
                return l[t];
            });
        }(s);
        e.default = n.a;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "components/zx-button-follow/zx-button-follow-create-component", {
    "components/zx-button-follow/zx-button-follow-create-component": function(t, e, o) {
        o("543d").createComponent(o("88c3"));
    }
}, [ [ "components/zx-button-follow/zx-button-follow-create-component" ] ] ]);